#include "background.h"
#include "magicpool.h"
#include <qobjectdefs.h>
#include <qqmlextensionplugin.h>

class SparkUI : public QObject {
    Q_OBJECT

    SparkUI(QObject *parent = nullptr);
public:
    static SparkUI *getInstance();

    void registerTypes(QQmlEngine *engine);

    void registerTypes(const char *uri);

    void initializeEngine(QQmlEngine *engine, const char *uri);

private:
    const int _major = 1;
    const int _minor = 0;
    const char *_uri = "SparkUI";
};